package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
/**
 * Interface to the DBSalesOrder
 */
public interface IFDBSalesOrder {
 
    public ArrayList<SalesOrder> getAllOrders(boolean retriveAssociation);

    public SalesOrder findOrder(int salesOrderID, boolean retriveAssociation);
   
    public SalesOrder searchOrderOnID( int salesOrderID, boolean retriveAssociation);

    public int insertSalesOrder(SalesOrder order);
  
    public int updateSalesOrder(SalesOrder order);

    public int deleteOrder(int salesOrderID);
    
}